Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upkeep: add TS support for useTaxonomy hook #303

Merged
merged 11 commits into from
May 3, 2024

Conversation

Sidsector9
Copy link
Member

@Sidsector9 Sidsector9 commented Mar 3, 2024

Description of the Change

Closes #

How to test the Change

Changelog Entry

Changed - add TS support for useTaxonomy hook

Credits

Props @fabiankaegy @Sidsector9

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

package.json Outdated
@@ -55,6 +55,7 @@
"@emotion/styled": "^11.10.5",
"@floating-ui/react-dom": "^1.0.1",
"@leeoniya/ufuzzy": "^1.0.8",
"@wordpress/core-data": "^6.29.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabiankaegy I've installed this so that I can import the Taxonomy type. Can you confirm if this is the correct way to go?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Sidsector9 I would move it to a devDependency because the package won't actually get bundled. But yeah this makes sense to me :)

Copy link

cypress bot commented Mar 3, 2024

1 failed test on run #805 ↗︎

1 5 0 0 Flakiness 0

Details:

fix delete JS version of component
Project: 10up Block Components Commit: b330bfb170
Status: Failed Duration: 01:25 💡
Started: Apr 16, 2024 6:21 AM Ended: Apr 16, 2024 6:22 AM
Failed  cypress/e2e/Repeater.spec.js • 1 failed test

View Output

Test Artifacts
Repeater > Adding Repeater field and saving it. Test Replay Screenshots

Review all test suite changes for PR #303 ↗︎

@Sidsector9 Sidsector9 changed the title add TS support for useTaxonomy hook upkeep: add TS support for useTaxonomy hook Mar 4, 2024
Copy link

github-actions bot commented Mar 11, 2024

Size Change: 0 B

Total Size: 65.7 kB

ℹ️ View Unchanged
Filename Size
dist/index.js 65.7 kB

compressed-size-action

@fabiankaegy
Copy link
Member

@Sidsector9 I'm really surprised by the amount of changes in the package lock file. Are you by chance using a different NPM version?

@Sidsector9
Copy link
Member Author

Sidsector9 commented Mar 11, 2024

@fabiankaegy I'm on NPM v8.19.4.
I just tried fixing it, can you please check?

Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems Git didn't pick up that you renamed the file. The old .js version still is there and is getting used

@fabiankaegy fabiankaegy self-requested a review April 16, 2024 06:16
@fabiankaegy fabiankaegy merged commit b4257aa into develop May 3, 2024
5 of 7 checks passed
@fabiankaegy fabiankaegy deleted the upkeep/hook-use-taxonomy branch May 3, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants